Skip to main content

All Questions

Tagged with
0votes
0answers
43views

Not able to modify inode metadata

I am working on a ext4 file-system tool that aims to delete files such that they are not recoverable later on. My goal is to clear the inode metadata of a deleted file, but despite my efforts, the ...
Dhruv's user avatar
3votes
3answers
829views

How to determine, with certainty, the filesystem type of a partition from the outputs of the Linux "file -s" command?

My problem is to decode the output of the command file -s /dev/sdX on my system (where /dev/sdX is the device file associated to a USB key). Below I'll show the output of the command file -s /dev/sdX ...
User051209's user avatar
2votes
1answer
99views

Why does inode usage go from 1% to 100% on a single file creation?

Inode usage go from 1 to 100% on a single file creation in a raid array on Debian. First, clean boot, then: sudo cryptsetup luksOpen /dev/RaidVG/LVMVol CVol sudo mount /dev/mapper/CVol /mnt/raid/ ...
Alicya Ambre's user avatar
0votes
1answer
60views

Why is it necessary when expanding an ext4 filesystem over space before it to copy the data?

I had a dual-boot setup on my laptop, with the Windows partition first, then Linux. I decided to delete Windows, so I removed its partition and am expanding the Linux partition into its space using ...
kj7rrv's user avatar
1vote
1answer
130views

procedure for mdadm in-place RAID5 to RAID6 upgrade

I have a debian host configured as a NAS using 6 disks in a RAID 5 setup. The current configuration is as follows: # mdadm -D /dev/md0 /dev/md0: Version : 1.2 Creation Time : Fri Mar ...
Frederik Hoeft's user avatar
2votes
1answer
130views

How do I actually fix a badly corrupted (but with hardware OK) ext4 system?

While creating an install USB disk, I made the trivial error of indicating the wrong device, and ended up overwriting the initial few hundred megabytes of a 230 GB disk. The data was not extremely ...
Pietro Battiston's user avatar
0votes
1answer
101views

Determine bytes per inode ratio of existing ext4 filesystem

I created a filesystem following this guide: https://wiki.archlinux.org/title/Ext4#Create_a_new_ext4_filesystem However it looks like I made a mistake because the ratio for /dev/sdc doesn't add up: ...
Atomic Tripod's user avatar
1vote
1answer
103views

How does the combination of SPARSE_SUPER and FLEX_BG features impact the location of backup super blocks in EXT4?

Edit: I've posted an answer to the following below, but not accepted yet, in the hopes that someone will kindly provide me with a generic calculation for determining whether block group n will have a ...
genericuser99's user avatar
2votes
2answers
299views

How is it possible to create >65000 entries in an ext4 directory despite the large_dir flag not being present?

So, I'm trying to understand FileSystem feature flags a little bit better. For what I could find, according to man ext4 a single directory in a ext4 FS can host up to 64,998 subdirectories. Normally, ...
S_Luis's user avatar
1vote
1answer
54views

Accidentally Partially Removed RAID 1 Mount Point. Is My RAID Okay?

I accidentally ran sudo rm -r on my RAID 1 mount point. I immediately realized my error, panicked, and hit CTRL+C to cancel. Some damage was already done. The lost+found directory and some of my data ...
KnuppenSasper's user avatar
0votes
1answer
106views

ext4 and chattr ( change attributes ) 's - undo ( u ) option

This is an microsd ext4 card on a rooted Android, where I want to use busybox chattr -R +u /mypath I know what +u means but does anyone have an idea about how the undo option is implemented for ext4 ...
user1874594's user avatar
0votes
1answer
73views

calculate df available space [duplicate]

I made a partition of 5 GB -> /dev/sdd2 then made a filesystem sudo mke2fs -N 700 -t ext4 -L test2 /dev/sdd2 and set root reserved space to 0 sudo tune2fs -r 0 /dev/sdd2 sudo dumpe2fs -h /dev/sdd2 ...
Schmaehgrunza's user avatar
2votes
1answer
694views

ext4 /Home filesystem won't mount - possible to recover?

I am using Pop! OS on a workstation PC in my workplace. However, today the machine crashed into a recovery mode on boot, apparently because the /Home filesystem wouldn't mount. The filesystem is ext4 ...
Time4Tea's user avatar
0votes
1answer
103views

Where is file path information stored?

Where is the file path infromation stored on ext4 file systems, within partitions? Obviously, it's stored on the drive itself because the structure is on the device itself (i.e. folders stay folders ...
FourierFlux's user avatar
2votes
1answer
106views

Is there any e4crypt kernel side documentation?

I'm trying to understand e4crypt and fscrypt, and also how they differ. But it is hard to find documentation on e4crypt other than the command line tool man page and some old tutorials. Is there any ...
JanKanis's user avatar

153050per page
close